package mvc.com.test.testcases
{
	import asunit.framework.TestCase;
	
	import flashx.textLayout.debug.assert;
	
	import mvc.com.utility.Captcha;

	public class InitTestCaptcha extends TestCase
	{
		private var clsCaptcha:Captcha;
		
		public function InitTestCaptcha(method:String)
		{
			super(method);
		}
		/* override setUp */		
		protected override function setUp():void
		{
			clsCaptcha=new Captcha(120,25);
		}
		/* remove after run */
		protected override function tearDown():void
		{
			clsCaptcha=null;	
		}
		/* comment function */
		public function captchaMethod():void
		{
			//clsCaptcha.initCaptcha();
			assertFalse(clsCaptcha.checkCaptcha("12345"),false);
			//assertEquals("No value: ",clsCaptcha.getCaptcha(),"");
			//assertEquals("Have value: ",clsCaptcha.getCaptcha(),"12345");
			//assertEquals("Compare value: ",clsCaptcha.getCaptcha(),clsCaptcha.getCaptcha());
		}
		/* comment function */
		public function instanceCaptcha():void
		{
			assertTrue(clsCaptcha is Captcha);
			//assertFalse(false);
		}
	}
	/* End Class */
}